package com.chris.design.pattern.samples.adapter;


/**
 * 类适配器模式
 * @author Chris
 */
public class Adapter extends Adaptee implements Target {

    @Override
    public void sampleOper2() {
        System.out.println("Adapter===sampleOper2");
    }

    @Override
    public void sampleOper1() {
        super.sampleOper1();
        // do other things
        System.out.println("Adapter===sampleOper1===do other things");
    }
}
